<?php
	$tool_buttons = array
	(
		'list_button' => array
		(
			'image'=>'btnListLarge.gif', 
			'text'=>LANG_LIST, 
			'url'=>'/'.$this->name.'/index/'
		)
	);
	$this->helpers->html->form('/'.$this->name.'/edit/'.$this->data[$this->name][id]);
	$this->helpers->htmlx->MenuText1(LANG_POSITION.': '.LANG_EDIT, "edit.gif");
	$this->helpers->toolbars->Toolbar($tool_buttons);
	echo "<table class='eva'>";
		$this->helpers->htmlx->hidden('id', $this->data[$this->name][id]);	
		$this->helpers->htmlx->inputTextRow(LANG_TITLE, 'name', $this->data[$this->name][name]);
		$this->helpers->htmlx->textAreaRow(LANG_DESCRIPTION, 'description', $this->data[$this->name][description]);
	echo "</table>";
	$this->helpers->htmlx->submitTable('submit', $this->name);
	$this->helpers->htmlx->submit('execute',LANG_SAVE_AND_EXECUTE_PROCEDURE, 'class="submit"');
	echo "</form>";
?>